cmake_minimum_required(VERSION 3.0.2)
project(sr_msgs_common)

set(MSG_DEPS
  std_msgs
  geometry_msgs
  actionlib_msgs
  moveit_msgs
)

find_package(catkin REQUIRED COMPONENTS roslib message_generation ${MSG_DEPS})

add_message_files(
  FILES
  journal_log.msg
)

add_service_files(
  FILES
  MoveObject.srv
)

## Generate actions in the 'action' folder
# add_action_files(
#    DIRECTORY action
#    FILES
# )

generate_messages(DEPENDENCIES ${MSG_DEPS})

catkin_package(
  DEPENDS
  CATKIN_DEPENDS roslib message_runtime ${MSG_DEPS}
  INCLUDE_DIRS
  LIBRARIES
)
